﻿/// <reference path="~/Scripts/Library/jquery-1.9.1.min.js" />

function UrlParameterByName(name) {

    var match = RegExp('[?&]' + name + '=([^&]*)').exec(window.location.search);

    return match && decodeURIComponent(match[1].replace(/\+/g, ' '));

}